package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.pojos.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface AuthorService extends IService<ApAuthor> {

    /**
     *根据用户id查询作者信息
     * @param userId
     * @return
     */
    public ApAuthor findByUserId(Integer userId);

    /**
     * 保存作者
     * @param apAuthor
     * @return
     */
//    public ResponseResult save(@RequestBody ApAuthor apAuthor);
}
